package cn.zhujs.util;

import cn.zhujs.org.domain.Department;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class PageList<T> {
    //总条数
    private Long total;
    //当前页的数据
    private List<T> data = new ArrayList<>();

    public PageList(){}
    public PageList(Long total, List<T> data) {
    }
}
